package cn.zktr.Personnel.model.pojos;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the per_pms_emplx database table.
 * 
 */
@Entity
@Table(name="per_pms_emplx")
@NamedQuery(name="PerPmsEmplx.findAll", query="SELECT p FROM PerPmsEmplx p")
public class PerPmsEmplx implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int lxid;

	private String lxphone;

	//bi-directional many-to-one association to PerPmsEmp
	@ManyToOne
	@JoinColumn(name="EMPID")
	private PerPmsEmp perPmsEmp;

	//bi-directional many-to-one association to PerPmsLxfs
	@ManyToOne
	@JoinColumn(name="LXFSID")
	private PerPmsLxfs perPmsLxf;

	public PerPmsEmplx() {
	}

	public int getLxid() {
		return this.lxid;
	}

	public void setLxid(int lxid) {
		this.lxid = lxid;
	}

	public String getLxphone() {
		return this.lxphone;
	}

	public void setLxphone(String lxphone) {
		this.lxphone = lxphone;
	}

	public PerPmsEmp getPerPmsEmp() {
		return this.perPmsEmp;
	}

	public void setPerPmsEmp(PerPmsEmp perPmsEmp) {
		this.perPmsEmp = perPmsEmp;
	}

	public PerPmsLxfs getPerPmsLxf() {
		return this.perPmsLxf;
	}

	public void setPerPmsLxf(PerPmsLxfs perPmsLxf) {
		this.perPmsLxf = perPmsLxf;
	}

}